* {
  margin: 0;
  padding: 0;
}
body {
  overflow-x: hidden;
}
.container {
  width: 100%;
  height: 100%;
  background-color: #edf1d5;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding-top: 10px;
}
.container div {
  width: 400px;
  height: 200px;
  background-color: steelblue;
  color: #fff;
  font-size: 20px;
  font-weight: bold;
  display: flex;
  justify-content: center;
  align-items: center;
  border-radius: 20px;
  box-shadow: 0 0 10px #ccc;
  margin: 10px 0;
  transition: all ease-in-out 1s;
  transform: translateX(0);
  position: relative;
}
.container .first {
  margin-top: 20px;
}
.container .animateLeft {
  transform: translateX(-400%);
}
.container .animateRight {
  transform: translateX(400%);
}
@keyframes leftMove {
  form {
    transform: translateX(-200px);
  }
  to {
    transform: translateX(0);
    background-color: red;
  }
}
